package com.springbootblog;

import org.mybatis.spring.annotation.MapperScan;
//import org.springframework.amqp.rabbit.annotation.EnableRabbit;
//import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;

//import com.taobao.arthas.core.Arthas;

//@EnableShiro
@SpringBootApplication
// 添加这个注解扫描dao文件
@MapperScan(basePackages = "com.springbootblog.dao")
// 开启事务
@EnableTransactionManagement
public class SpringBootBlogApplication
{
    //    @Value("${sentinel.log.dir}")
    //    private static String path;
    public static void main(String[] args) {
        // 设置Sentinel基础目录
        //        System.setProperty("sentinel.dashboard.data.dir", path);
        //        Arthas.main(args);
        SpringApplication.run(SpringBootBlogApplication.class, args);
    }
}
